package com.Ritany3.subject.application.convert;



import com.Ritany3.subject.application.dto.SubjectCategoryDTO;
import com.Ritany3.subject.application.dto.SubjectInfoDTO;
import com.Ritany3.subject.domain.entity.SubjectCategoryBO;
import com.Ritany3.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);


    SubjectInfoBO converDTOToBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO converBOToDTO(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoDTO> convertBOToDTOList(List<SubjectInfoBO> subjectInfoBO);
}
